package com.yonghui.springsecurityoauth2demo.mapper;


import com.yonghui.springsecurityoauth2demo.domain.OauthUser;
import org.apache.ibatis.annotations.Mapper;

/**
* @author hejiebing
* @description 针对表【oauth_user】的数据库操作Mapper
* @createDate 2024-05-14 10:49:08
* @Entity com.yonghui.springsecurityoauth2demo.domain.OauthUser
*/
@Mapper
public interface OauthUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(OauthUser record);

    int insertSelective(OauthUser record);

    OauthUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OauthUser record);

    int updateByPrimaryKey(OauthUser record);

    OauthUser selectByUsername(String username);
}
